interface INavItem {
  title: string
  component: string
}

interface INavArray {
  group: string
  components: Array<INavItem>
}

const navArray: Array<INavArray> = [
  {
    group: '基础组件',
    components: [
      {
        title: '按钮',
        component: 'Button',
      },
      {
        title: '图标',
        component: 'Icon',
      },
      {
        title: '开关',
        component: 'Switch',
      },
      {
        title: '输入框',
        component: 'Input',
      },
    ],
  },
  {
    group: 'md测试',
    components: [
      {
        title: 'md测试',
        component: 'Test',
      }
    ]
  }
]

export { navArray }
